import request from '@/utils/request'

// 查询服务套餐与耗材包对照列表
export function listPackagescombo(query) {
  return request({
    url: '/service/packagescombo/list',
    method: 'get',
    params: query
  })
}

// 查询服务套餐与耗材包对照详细
export function getPackagescombo(packagescomboId) {
  return request({
    url: '/service/packagescombo/' + packagescomboId,
    method: 'get'
  })
}

// 新增服务套餐与耗材包对照
export function addPackagescombo(data) {
  return request({
    url: '/service/packagescombo',
    method: 'post',
    data: data
  })
}

// 修改服务套餐与耗材包对照
export function updatePackagescombo(data) {
  return request({
    url: '/service/packagescombo',
    method: 'put',
    data: data
  })
}

// 删除服务套餐与耗材包对照
export function delPackagescombo(packagescomboId) {
  return request({
    url: '/service/packagescombo/' + packagescomboId,
    method: 'delete'
  })
}
